package com.wwwarehouse.resource_center.constant;

/**
 * @author Joseph on 2017/9/8.
 *         <p/>
 */

public class ResourceConstant {

    /**
     * 任务分配规则->规则桌面
     */
    public static final String SEARCH_TASK_ALLOCATION_RULE_DESKTOP = "router/api?method=taskAllocate.searchTaskAllocationRuleDesktop&version=1.0.0";//规则桌面
    public static final String QUERY_TASK_ALLOCATION_RULE = "router/api?method=taskAllocate.queryTaskAllocationRule&version=1.0.0";//查询详细规则
    public static final String UPDATE_TASK_ALLOCATION_RULE = "router/api?method=taskAllocate.updateTaskAllocationRule&version=1.0.0";//修改规则
    public static final String DELETE_TASK_ALLOCATION_RULE = "router/api?method=taskAllocate.deleteTaskAllocationRule&version=1.0.0";//删除规则
    public static final String ADD_TASK_ALLOCATION_RULE = "router/api?method=taskAllocate.addTaskAllocationRule&version=1.0.0";//新增规则
    public static final String GET_OPERATOR_TYPE = "router/api?method=taskAllocate.getOperatorType&version=1.0.0";//获取操作者类型
    public static final String GET_ALLOCATE_TACTICS = "router/api?method=taskAllocate.getAllocateTactics&version=1.0.0";//获取策略
    public static final String RULE_NAME_IS_EXIST = "router/api?method=taskAllocate.ruleNameIsExist&version=1.0.0";//校验规则名称是否可用
    public static final String GET_ALLOCATION_CONDITION = "router/api?method=taskAllocate.getAllocationCondition&version=1.0.0";//根据操作者返回对应属性及选项值
    public static final String GET_DISTRIBUT_ABLE_UNITS = "router/api?method=taskAllocate.getDistributableUnits&version=1.0.0";//获取可分配的任务
    public static final String GET_DISTRIBUT_ABLE_STOCKS = "router/api?method=taskAllocate.getDistributableStocks&version=1.0.0&t=now()";//获取未分配的应用对象
    /**
     * 创建物和资源
     */
    public static final String SELECT_CATEGORY = "router/api?method=category.selectCategory&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//类目查询
    public static final String TOOL_CATEGORY = "router/api?method=category.selectToolCategory&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//工具类目查询
    public static final String RES_CATEGORY = "router/api?method=resource.getResourceTypeList&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//资源类目查询
    public static final String INSERT_CATEGORY = "router/api?method=category.insertCategory&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//添加类目
    public static final String SELECT_LABER_BYNAME = "router/api?method=label.selectLaberByName&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//根据标签名模糊查找标签
    public static final String INSERT_LABER = "router/api?method=label.insertLaber&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//添加标签
    public static final String SELECT_ATTRIBUTE_BYNAME = "router/api?method=attribute.selectAttributeByName&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//根据属性名模糊查找属性
    public static final String SELECT_ATTRIBUTE_BYCATEGORY = "router/api?method=attribute.selectAttributeByCategory&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//根据类目找属性
    public static final String SAVE_OBJECT = "router/api?method=item.saveAbstractObject&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//保存物信息
    public static final String SAVE_RES = "router/api?method=resource.saveResource&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//保存资源信息
    public static final String ITEMTYPELIST = "router/api?method=item.getItemTypeList&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//保存资源信息
    public static final String QUERY_ITEMORRESOURCE_DETAIL = "router/api?method=resource.queryItemOrResourceDetail&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//根据关联主键、类型、物的分类查询明细
    public static final String PAGINATION_ITEMORRESOURCE = "router/api?method=resource.paginationItemOrResource&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//根据名称、分类分页查询物和资源列表

    /**
     * 物和资源列表修改排序删除
     */
    public static final String DELETE_ITEM = "router/api?method=item.deleteItemAndRelation&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//删除物
    public static final String SELECT_BYNAME = "router/api?method=item.selectByName&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//物的列表
    public static final String UPDATE_REDEFINED_AND_RELATIONS = "router/api?method=resource.updateReDefinedAndRelations&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//修改资源
    public static final String UPDATE_ABSTRACT_OBJECT = "router/api?method=item.updateAbstractObject&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//修改物
    public static final String DELETE_RELATION = "router/api?method=resource.deleteItemAndRelation&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//删除资源
    public static final String QUZZY_QUERY_DEFINED_AND_RELATION = "router/api?method=resource.quzzyQueryDefinedAndRelation&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//资源列表
    public static final String GET_UNITS = "router/api?method=MaintenanceUnit.getUnits&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//查询所有单位
    public static final String GOTO_IMPORT_TOOL_INDEX = "router/api?method=importTool.gotoImportToolIndexNew&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";//PC导入
    /**
     * 新增单位
     */
    public static final String INSERT_UNIT = "router/api?method=MaintenanceUnit.insert&version=1.0.0";

    /**
     * 查询业务单位下可以修改的单位
     */
    public static final String GET_UNUSED_UNIT = "router/api?method=MaintenanceUnit.getsUnUsedUnit&version=1.0.0";
    /**
     * 修改单位接口
     */
    public static final String UPDATE_UNIT = "router/api?method=MaintenanceUnit.update&version=1.0.0";
    /**
     * 校验单位名称是否存在
     */
    public static final String EXISTED_UNITNAME = "router/api?method=MaintenanceUnit.existedUnitName&version=1.0.0";
    /**
     * 查询单位明细
     */
    public static final String GET_BYUNITNAME = "router/api?method=MaintenanceUnit.getByUnitName&version=1.0.0";
    /**
     * 删除类目
     */
    public static final String DELETE_CATEGORY = "router/api?method=category.deleteCategoryByCategoryUkid&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";


    /**
     * 获取客户列表
     */
    public static final String URL_GET_CUSTOMER_SUPPLIER = "router/api?method=CmBusinessRelationService.getCustomerBySupplier&version=1.0.0";
    /**
     * 获取客户对应供应商是否存在关系
     */
    public static final String GET_SIGN_SUPPLIER_BU_INFO = "router/api?method=CmBusinessRelationService.getSignSupplierBuInfo&version=1.0.0";

    /**
     * 销售库存信息统计
     */
    public static final String URL_GET_INVENTORY_STATISTICS = "router/api?method=bi.getData&version=1.0.0";
    /**
     * 资源效率评估
     */
    public static final String RESOURCE_EFFICIENCY_EVALUATION = "router/api?method=bi.getData&version=1.0.0";

    /*定义实物库存查询*/
    /**
     * 定义库存列表
     */
    public static final String GET_INVENTORY_LIST = "router/api?method=inventoryDefinition.getsInventoryDefinitionList&version=1.0.0";

    /**
     * 实物库存详情
     */
    public static final String GET_INVENTORY_DETAIL = "router/api?method=inventoryDefinition.getInventoryDefinition&version=1.0.0";

    /**
     * 保存定义库存
     */
    public static final String UPDATA_OR_SAVE_INVENT="router/api?method=inventoryDefinition.updateOrSaveInventoryDefinition&version=1.0.0";

    /**
     * 查询用户的所有业务单位
     */
    public static final String GET_BUSINESS_UNITS_BY_USERID="router/api?method=businessUnits.getBusinessUnitsByUserId&version=1.0.0";
    /**
     * 资源效率webv
     */
    public static final String TREND_ECHART="ResourceEfficiency/TrendEchart.html";
    public static final String RESOURCE_EFFICIENCY="ResourceEfficiency/";

    /**
     * 绑定企业银行卡
     */
    public static final String GETS_BINDING_BANKCARD="router/api?method=acBinding.getsBindingBankCard&version=1.0.0"; //查询已绑定的所有银行卡



    /**
     * Arouter跳转
     */
    //创建资源 功能卡片
    public static final String PATH_CREATERES = "/ResourceCenter/CreateResFragment";

    // 创建商品  任务卡
    public static final String PATH_CREATEGOODS = "/ResourceCenter/CreateGoodsFragment";
    // 创建工具   任务卡
    public static final String PATH_CREATETOOLS = "/ResourceCenter/CreateToolsFragment";
    // 创建店铺 任务卡
    public static final String PATH_CREATESTORE = "/ResourceCenter/CreateStoreFragment";
    // 创建仓库   任务卡
    public static final String PATH_CREATEWAREHOUSE = "/ResourceCenter/CreateWarehouseFragment";
    // 资源和物   信息卡
    public static final String PATH_CREATEWAREHOUSEFRAGMENT = "/ResourceCenter/GoodsInfomationCreateItemFragment";
    //商品 信息卡
    public static final String PATH_H_GOODS = "/ResourceCenter/InfomationGoodsFragment";
    //工具 信息卡
    public static final String PATH_H_TOOLS = "/ResourceCenter/InfomationToolsFragment";
    //店铺 信息卡
    public static final String PATH_H_SHOP = "/ResourceCenter/InfomationShopFragment";
    //仓库 信息卡
    public static final String PATH_H_STOCK = "/ResourceCenter/InfomationWarehouseFragment";
    //资源 信息卡
    public static final String PATH_RESOURCES = "/ResourceCenter/InfomationResourcesFragment";
    //蓝牙测试
    public static final String BLUETOOTH = "/ResourceCenter/BluetoothFragment";
    //新增单位
    public static final String PATH_NEWUNIT_FRAGMENT = "/ResourceCenter/NewUnitFragment";
    //修改单位
    public static final String PATH_UPDATEUNIT_FRAGMENT = "/ResourceCenter/UpdateUnitViewPagerFragment";
    //物和资源修改删除列表
    public static final String PATH_GOODS_AND_RES_MODIFY_DELETE = "/ResourceCenter/GoodsAndResModifyDeleteViewPagerFragment";
    // 销售库存信息统计
    public static final String PATH_SALES_INVENTORY_STATISTICS = "/ResourceCenter/SalesInventoryStatisticsListFragment";
    //定义实物库存
    public static final String DEFINED_INVENT                   = "/ResourceCenter/DefinedViewPagerFragment";
    //  资源效率评估
    public static final String RESOURCE_EFFICIENCY_EVALUATION_INFORMATION = "/ResourceCenter/ResourceEfficiencyEvaluationFragment";
    //设置任务分配规则-功能卡新增规则
    public static final String NEW_RULES  = "/ResourceCenter/SetRulesFragment";
    //设置任务分配规则-信息卡 ， 设置任务分配规则-功能卡编辑修改删除-功能卡
    public static final String INFOMATION_TASK_RULES  = "/ResourceCenter/EditTaskRuleFragment";
    //录入生产工具
    public static final String PATH_INPUT_GENERATION_TOOL_FRAGMENT  = "/ResourceCenter/InputGenerationToolFragment";

}
